package cn.b.sky.admin.dao;

import cn.b.sky.admin.model.SaUser;
import org.apache.ibatis.annotations.Param;

public interface SaUserDao {
  /**
   * 
   * <strong>Title : selectAuthenticationByUserCode<br></strong>
   * <strong>Description : </strong>获取登陆用户<br> 
   * <strong>Create on : 2016-6-8 上午9:29:42<br></strong>
   * <p>
   * @param userCode
   * @return
   * ManagementAuthentication
   * @throws 
   * @author lidapeng<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  SaUser selectSaUserByUserCode(String userCode);

  /**
   * 
   * <strong>Title : updateUserPwd<br></strong>
   * <strong>Description : </strong>修改密码<br> 
   * <strong>Create on : 2016-6-8 下午2:34:45<br></strong>
   * <p>
   * @param userCode
   * @param password
   * void
   * @throws 
   * @author lidapeng<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  void updateUserPwd(@Param(value = "userCode") String userCode, @Param(value = "password") String password);
}
